package seismosurfer.data;

import java.io.Serializable;

/**
 * A Data Transfer Object to represent the <code>CATALOG</code> table data.
 */
public class CatalogData implements Serializable {
    
    private static final long serialVersionUID = -5073363149358748843L;

    private int catalogID = 0;

    private String catalogName = "";

    private String catalogSource = "";

    private String catalogURL = "";

    private int catalogPriority = 0;

    private String catalogInfo = "";

    private boolean updatable;

    private long period;

    private long delay;

    
    public CatalogData() {

    }
    
    public int getCatalogID() {
        return this.catalogID;
    }
    
    public String getCatalogName() {
        return this.catalogName;
    }
    
    public String getCatalogSource() {
        return this.catalogSource;
    }
    
    public String getCatalogURL() {
        return this.catalogURL;
    }
    
    public int getCatalogPriority() {
        return this.catalogPriority;
    }
    
    public String getCatalogInfo() {
        return this.catalogInfo;
    }

    // ---------------------------------------------------------------------//

    public void setCatalogID(int catalogID) {
        this.catalogID = catalogID;
    }
    
    public void setCatalogName(String catalogName) {
        this.catalogName = catalogName;
    }
    
    public void setCatalogSource(String catalogSource) {
        this.catalogSource = catalogSource;
    }
    
    public void setCatalogURL(String catalogURL) {
        this.catalogURL = catalogURL;
    }
    
    public void setCatalogPriority(int catalogPriority) {
        this.catalogPriority = catalogPriority;
    }
    
    public void setCatalogInfo(String catalogInfo) {
        this.catalogInfo = catalogInfo;
    }

    public boolean isUpdatable() {
        return updatable;
    }

    public void setUpdatable(boolean updatable) {
        this.updatable = updatable;
    }

    public long getPeriod() {
        return period;
    }

    public void setPeriod(long period) {
        this.period = period;
    }

    public long getDelay() {
        return delay;
    }

    public void setDelay(long delay) {
        this.delay = delay;
    }

}
